package com.snowRemovingUser.service;

import com.snowRemovingUser.domain.TCommentRiskLevelRule;

import java.util.List;

/**
 * comment风险等级规则Service接口
 * 
 * @author lg
 * @date 2024-04-10
 */
public interface ITCommentRiskLevelRuleService 
{
    /**
     * 查询comment风险等级规则
     * 
     * @param riskLevelRuleId comment风险等级规则主键
     * @return comment风险等级规则
     */
    public TCommentRiskLevelRule selectTCommentRiskLevelRuleByRiskLevelRuleId(String riskLevelRuleId);

    /**
     * 查询comment风险等级规则列表
     * 
     * @param tCommentRiskLevelRule comment风险等级规则
     * @return comment风险等级规则集合
     */
    public List<TCommentRiskLevelRule> selectTCommentRiskLevelRuleList(TCommentRiskLevelRule tCommentRiskLevelRule);

    /**
     * 新增comment风险等级规则
     * 
     * @param tCommentRiskLevelRule comment风险等级规则
     * @return 结果
     */
    public int insertTCommentRiskLevelRule(TCommentRiskLevelRule tCommentRiskLevelRule);

    /**
     * 修改comment风险等级规则
     * 
     * @param tCommentRiskLevelRule comment风险等级规则
     * @return 结果
     */
    public int updateTCommentRiskLevelRule(TCommentRiskLevelRule tCommentRiskLevelRule);

    /**
     * 批量删除comment风险等级规则
     * 
     * @param riskLevelRuleIds 需要删除的comment风险等级规则主键集合
     * @return 结果
     */
    public int deleteTCommentRiskLevelRuleByRiskLevelRuleIds(String[] riskLevelRuleIds);

    /**
     * 删除comment风险等级规则信息
     * 
     * @param riskLevelRuleId comment风险等级规则主键
     * @return 结果
     */
    public int deleteTCommentRiskLevelRuleByRiskLevelRuleId(String riskLevelRuleId);
}
